package com.bean;

/**
 * @author Lenovo
 * @date 2022/1/5
 */
//学生类
public class Student {
    String sNo;     // 学号
    String sName;   // 姓名
    String classNo;   //班级
    String subject; // 专业
    String sex;     // 性别
    String academy; //学院

    public Student() {
    }

    public Student(String sNo, String sName, String classNo, String subject, String sex, String academy) {
        this.sNo = sNo;
        this.sName = sName;
        this.classNo = classNo;
        this.subject = subject;
        this.sex = sex;
        this.academy = academy;
    }

    public String getsNo() {
        return sNo;
    }

    public void setsNo(String sNo) {
        this.sNo = sNo;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public String getClassNo() {
        return classNo;
    }

    public void setClassNo(String classNo) {
        this.classNo = classNo;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAcademy() {
        return academy;
    }

    public void setAcademy(String academy) {
        this.academy = academy;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sNo='" + sNo + '\'' +
                ", sName='" + sName + '\'' +
                ", classNo='" + classNo + '\'' +
                ", subject='" + subject + '\'' +
                ", sex='" + sex + '\'' +
                ", academy='" + academy + '\'' +
                '}';
    }
}

